<!--==========内容主体==========-->
<div style='height:60px;opcity:10'></div>
    <div class="main">
		<!--=====左侧 START=====-->
		{include file="public/left"/}
		<!--=====左侧 end=====-->



          <!--=====右侧=====-->
    	<div id='right'>
    		<ul id='sel-edit'>
    			<li class='edit-cur'>基本信息</li>
    			<li>修改头像</li>
    			<li>修改密码</li>
    		</ul>
    		<div class='form'>
    			<form id="form-userinfo-data" url="{:url('home/userinfo/edit_info')}">
    				<p>
    					<label for=""><span class='red'>*</span>昵称：</label>
    					<input type="text" name='username' value="{$userinfoData['username']}" class='input'/>
    				</p>
    				<p>
    					<label for="">真实名称：</label>
    					<input type="text" name='truename' value="{$userinfoData['truename']}" class='input'/>
    				</p>
    				<p>
    					<label for=""><span class='red'>*</span>性别：</label>
    					<input type="radio" name='sex' value='1' {if condition="$userinfoData['sex'] eq '男'"}checked='checked'{/if}/>&nbsp;男&nbsp;
    					<input type="radio" name='sex' value='2' {if condition="$userinfoData['sex'] eq '女'"}checked='checked'{/if}/>&nbsp;女
    				</p>
    				<p id="cp-area">
						<script>
							var area_url = "__PLUGINS__/area/";
							var prov_v = "{$userinfoData['prov']}";
							var city_v = "{$userinfoData['city']}";
							var dist_v = "{$userinfoData['dist']}";
						</script>
    					<label for=""><span class='red'>*</span>所在地：</label>
						<select name="prov" class="_aer prov"></select>&nbsp;
						<select name="city" class="_aer city" disabled="disabled"></select>&nbsp;
						<select name="dist" class="_aer dist" disabled="disabled"></select>
						<script>
							$(function(){
								$("#cp-area").citySelect({
									prov:prov_v,
									city:city_v,
									dist:dist_v,
									nodata:"none"
								});
							});
						</script>
					</p>


    				<p>
						<script>
							var constellation = "{$userinfoData['constellation']}";
						</script>
    					<label for="">星座：</label>
    					<select name="constellation" id="constellation">
    						<option value="">请选择</option>
    						<option value="白羊座">白羊座</option>
    						<option value="金牛座">金牛座</option>
    						<option value="双子座">双子座</option>
    						<option value="巨蟹座">巨蟹座</option>
    						<option value="狮子座">狮子座</option>
    						<option value="处女座">处女座</option>
    						<option value="天秤座">天秤座</option>
    						<option value="天蝎座">天蝎座</option>
    						<option value="射手座">射手座</option>
    						<option value="魔羯座">魔羯座</option>
    						<option value="水瓶座">水瓶座</option>
    						<option value="双鱼座">双鱼座</option>
    					</select>
    				</p>
    				<p>
    					<label for="" class='intro' style="width: 104px;display: inline-block;">一句话介绍自己：</label>
    					<textarea name="intro">{$userinfoData['intro']}</textarea>
    				</p>
    				<p>
						<input type="hidden" name="id" value="{$userinfoData['id']}">
    					<input type="submit" value='保存修改' class='edit-sub' style="text-align: center;line-height: normal;"/>
    				</p>
    			</form>
    		</div>
    		<div class='form hidden'>
    			<form action="" method='post'>
					<style>
						#cp-upload-face #SWFUpload_0{
							margin-left: -39px;
						}
					</style>
	    			<div class='edit-face'>
						{if condition="$userinfoData['face180']"}
	    				<img src="{$userinfoData['face180']}" width='180' height='180' id='face-img'/>
						{else/}
						<img src="__HOME__/images/noface.gif" width='180' height='180' id='face-img'/>
						{/if}
	    				<p style="padding: 20px 0px 0px 108px">
							<span id="cp-upload-face"></span>
	    				</p>
	    			</div>
    			</form>
    		</div>
    		<div class='form hidden'>
    			<form id="form-editPwd"  autocomplete="off">
    				<p class='account'>账户名称：<span>{$account}</span></p>
    				<p>
    					<label for=""><span class='red'>*</span>旧密码：</label>
    					<input type="password" name='oldpwd' class='input'/>
    				</p>
    				<p>
    					<label for=""><span class='red'>*</span>新密码：</label>
    					<input type="password" name='newpwd' class='input' id='new'/>
    				</p>
    				<p>
    					<label for=""><span class='red'>*</span>确认密码：</label>
    					<input type="password" name='newed' class='input'/>
    				</p>
    				<p>
    					<input type="submit" value='确认修改' class='edit-sub' style="text-align: center;line-height: normal;"/>
    				</p>
    			</form>
    		</div>
    	</div>
    </div>
<!--==========内容主体结束==========-->